package com.jy.myhome.service;

import com.jy.myhome.entity.Users;

import javax.servlet.http.HttpSession;
import java.util.Map;

public interface UserService {
    //查询单个用户信息
    public Users findUserOne(Integer id);

    //登陆
    public Map login(Users user, HttpSession session);

    //注册(新增用户)
    public Integer register(Users user);

    //修改用户信息
    public Integer updateUser(Users user);
}
